#include <iostream>

using namespace std;
template<class T , const unsigned N>
void print(T (&arr)[N]){
    for(auto it : arr){
        cout << it << endl;
    }
}
int main(int argc, char const *argv[])
{
    string martix[3];

    martix[0] = "123";
    martix[1] = "wsda";
    martix[2] = "sad";

    print(martix);
    return 0;
}
